package com.wqiuqiu.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wqiuqiu.common.PageUtils;
import com.wqiuqiu.common.R;
import com.wqiuqiu.common.to.login.AccountTo;
import com.wqiuqiu.common.to.thridservice.Oauth2To;
import com.wqiuqiu.gulimall.member.entity.MemberEntity;
import com.wqiuqiu.gulimall.member.exception.UserRegException;
import com.wqiuqiu.gulimall.member.vo.RegisterVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * 会员
 *
 * @author wqiuqiu
 * @email 18773489795@163.com
 * @date 2023-11-29 12:11:20
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void memberReg(RegisterVo vo) throws UserRegException;

    MemberEntity oauth2Login(Oauth2To oauth2To);

    R gulimallLogin(AccountTo to);
}

